<?php
/**
 * Prado Portal.
 *
 * @author Steen Rabol <steen.rabol@gmail.com>
 * @link http://www.pradoportal.dk/
 * @copyright Copyright &copy; 2006,2007,2008 Steen Rabol
 * @license http://www.pradoportal.dk
 * @version $Id: PortalPagecontentRecord.php 385 2010-12-22 14:04:00Z steen.rabol $
 */

Prado::using('Application.Common.Data.PortalActiveRecord');

class PortalPagecontentRecord extends PortalActiveRecord
{
	const TABLE='tblpagecontent';

	public $id;
	public $pagename;
	public $controlname;
	public $portlet;
	public $displayorder;
	public $active;
	public $role;
	public $needlogin;
	public $showafterlogin;
    public $culture;

	public static function finder($className=__CLASS__)
	{
		return parent::finder($className);
	}

	public function toArray()
	{
		return get_object_vars($this);
	}
}
?>